﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using mscook.core.domain;
using System.ComponentModel.DataAnnotations;
namespace mscook.mvc.Areas.weblogin.Models
{
    public class LoginUserOfVipModel : BaseModel
    {
        public LoginUserOfVip LoginUserOfVip
        {
            set;
            get;
        }

        [Required(ErrorMessage = "设置期限必填")]
        public DateTime DateTime
        {
            set;
            get;
        }
       [RegularExpression(@"^[0-9]*$", ErrorMessage = "请填写正确的数字")]
        public int AddBonus
        {
            set;
            get;
        }


    }
}